<alarm> |
Defines the alarm window. Attributes
Parents
Children |
<appearance> |
|
Defines an appearance for a category or a list item. Attributes
Parents
Children
Example
|
<author> |
|
Defines the author of the skin. This is the string that is shown as the author in the skin details view in Rainlendar's options. Attributes
Parents
Children
Example
|
<background> |
|
Defines the background image for the tooltips. The image should define 4 frames which contain the same image in different orientations. The used frame depends on the position where the tooltip is shown (it will be rotated if it wouldn't fit on the screen). Attributes
Parents
Children
Example
|
<bitmap> |
|
A static image that is shown in a window. Usually used to define the background of a calendar or the other windows. Attributes
Parents
Children
Example
|
<bitmapfont> |
|
Similar as the bitmap except that the image contains a single character per frame so that it is possible to write text with the images. Attributes
Parents
Children
Example
|
<button> |
|
Draws a button to the window. The button can have three states: normal, pressed and hover. When the button is pressed the function defined with the "action" attribute is executed. The functions are defined in the lua scripts. Attributes
Parents
Children
Example
|
<calendar> |
Draws the calendar to the window. The calendar shows the month that the user has chosen. By default it shows the current month (unless defined otherwise with "showmonth"). This element draws all the days in the month. If only the current date should be shown use the <time> element instead. Attributes
Parents
Children |
<cancelleditem> |
|
Defines the appearance for cancelled items. If the todo item has appearance defined by the category it might override this. Attributes
Parents
Children
Example
|
<categories> |
A grouping element for the categories Attributes
Parents
Children |
<category> |
|
Defines a category for which the skin has an appearance. Attributes
Parents
Children
Example
|
<comment> |
A general comment or description of the skin. Here you can describe the skin instructions, functionality or whatever you feel that the user should know. Attributes
Parents
Children |
<completeditem> |
|
Defines the appearance for completed items. If the todo item has appearance defined by the category it might override this. Attributes
Parents
Children
Example
|
<days> |
|
Contains an appearance which draws the normal days to the calendar. It's possible to use a normal font as the appearance's element or a bitmap font which defines alphabet from 0 to 9 or a bitmap with 32 frames (the first frame is ignored). Attributes
Parents
Children
Example
|
<elements> |
A grouping element for the skin elements. An element (not to be mistaken with an xml element) is a drawable object that is used by all items in the window. So, everything that you see in Rainlendar's windows is an element. Attributes
Parents
|
<email> |
|
Defines the author's email. This element is optional. If defined the author is shown as a email link in the skin details view in Rainlendar's options. Attributes
Parents
Children
Example
|
<eventlist> |
Draws the event list to the window. The list contains the events from today to the user defined date. Since the height of the list cannot be known you should define the it so that the window expands automatically. Or wrap the list inside <scrollgroup> element. Attributes
Parents
|
<events> |
|
Contains an appearance which draws a normal day with an event to the calendar. If the event's category defines a different appearance it might override this (that depends on the appearance layers and the priorities). Attributes
Parents
Children
Example
|
<exdays> |
|
Contains an appearance which draws the days to the calendar which do not belong to the current month. This is optional element. If not defined the days outside the current month are not drawn at all. Attributes
Parents
Children
Example
|
<exweekends> |
|
Contains an appearance which draws the weekend days which do not belong to the current month. This is optional element. If not defined the <exdays> element is used instead. Attributes
Parents
Children
Example
|
<font> |
|
A normal font that is used to draw text. Attributes
Parents
Children
Example
|
<gradient> |
|
Defines a color gradient. In practice this creates a 1x256 or 256x1 size bitmap that has the color gradient. So, when using a gradient e.g. as a background for a window you should always use stretch scaling. Attributes
Parents
Children
Example
|
<group> |
This is a grouping node for the elements. The position of the elements inside the group is relative to the group. Hiding the group will hide the contained elements too. Attributes
Parents
Children |
<header> |
|
This defines the header item for the various lists (event, todo, alarm, tooltip). The item usually displays text but it's possible to have images and buttons in it too. Attributes
Parents
Children
Example
|
<homepage> |
|
Defines the webpage where the users can download updated version of the skin. This element is optional. Attributes
Parents
Children
Example
|
<image> |
|
Draws an image to the window. If the position rectangle is larger than the size of the image it will be scaled (depends on the scaling attribute). Attributes
Parents
Children
Example
|
<include> |
|
This element can be used to split the skin definition into several files. The xml file is loaded and inserted into the place where the <include> element is defined. Attributes
Parents
Children
Example
|
<info> |
|
This is a grouping element which contains the items that describe the skin. The contained information is shown in the skin selection dialog in the Rainlendar's options. Attributes
Parents
Children
Example
|
<item> |
|
This defines a normal item for the various lists (event, todo, alarm, tooltip). The item usually displays text but it's possible to have images and buttons in it too. Buttons can use #GUID# to substitute the item's id in the parameters and #COUNT# to substitute the index of the item in the list. Attributes
Parents
Children
Example
|
<language> |
|
This element defines a language which will be shown in the Options->Advanced->SkinLanguage list. The purpose of this is to make it possible to use localized images in the skins. If the image element uses %L in its file attribute it is replaced by the language name selected from the settings (i.e. one defined by these <language> elements) Attributes
Parents
Children
Example
|
<languages> |
A grouping element for the languages. If your skin doesn't use customized images for different languages it's not necessary to define this element. Attributes
Parents
Children |
<month> |
|
Draws the current month to the window. The displayed month changes with the user selections (e.g. from the menu or with cursor keys) Attributes
Parents
Children
Example
|
<overdueitem> |
|
Defines the appearance for overdue items. If the todo item has appearance defined by the category it might override this. Attributes
Parents
Children
Example
|
<progressbar> |
|
Defines a progress bar that is shown in the todo items. The width of the item depends on the progress status of the task. Attributes
Parents
Children
Example
|
<screenshot> |
|
Defines a link to the screenshot of the skin. This element is optional. This should be a relative path to an image inside the skin package. The image is shown in the skin details view in the Rainlendar's options. Do not use too big image! Attributes
Parents
Children
Example
|
<script> |
Defines the filename of the lua script file in the skin. It's possible to execute functions only from scripts that have been defined with <script>. It's not necessary to use the <script> to define the scripts that are in the Rainlendar's own script folder just the ones that come with the skin. Attributes
Parents
Children |
<scripts> |
A grouping element for the scripts. Attributes
Parents
Children |
<scrollgroup> |
This is similar grouping node as the <group>. The difference is that if the height of the elements are larger than the height of the scrollgroup a scrollbar can be used to change the view position. Only vertical scrolling is supported. Attributes
Parents
Children |
<separator> |
|
Defines the list separator. This is drawn between the item groups in the list. Attributes
Parents
Children
Example
|
<skin> |
This is the root element in the skins. All other skin elements must be inside this element. You may not put anything outside the <skin>-element (except the xml header element). Attributes
Parents
Children |
<solid> |
|
Defines a solid color. In practice this creates a 1x1 size bitmap that has the defined color. Attributes
Parents
Children
Example
|
<text> |
|
Draws a static text to the window. The text is automatically translated if it can be found from the language file. Attributes
Parents
Children
Example
|
<time> |
|
Draws a date or time to the window. The value is updated automatically. It's also possible to draw analog clocks with this if the used element is a single image as it can be rotated by the current time. Attributes
Parents
Children
Example
|
<today> |
|
Contains an appearance which draws the current day to the calendar. The appearance is always drawn on the same position where the day's number is in the calendar (i.e. the position moves with the current day). Attributes
Parents
Children
Example
|
<todolist> |
Draws the task list to the window. The list contains all the user's todo items. Since the height of the list cannot be known you should define the it so that the window expands automatically. Or wrap the list inside <scrollgroup> element. Attributes
Parents
Children |
<tooltip> |
Defines the tooltip window. The width and height of the window is calculated automatically from the background element and from the contents. Attributes
Parents
Children |
<trayicon> |
|
This defines the icon that is shown in the system tray. Attributes
Parents
Children
Example
|
<variable> |
|
Defines a variable which is shown in the skin's settings. The variables can be used to allow the user to change certain settings in the skin (hide/show items, describe time format, ...). The variables are defined per window so they can be used only inside a <window> element. The variables must be defined before they can be used which means that you should have the <variables> section before the <windows> sections. Attributes
Parents
Children
Example
|
<variables> |
A grouping element for the variables. Only variable definitions are allowed inside this element. Attributes
Parents
Children |
<version> |
|
Defines the version number of the skin. You can use any string you like. The purpose of this is to help to keep track of any changes that are done to the skin. Attributes
Parents
Children
Example
|
<weekdays> |
|
Contains an appearance which draws the weekdays to the calendar. This is optional element. Attributes
Parents
Children
Example
|
<weekends> |
|
Contains an appearance which draws the weekend days to the calendar. This is optional element. If not defined the <days> element is used instead. Attributes
Parents
Children
Example
|
<weeknums> |
|
Contains an appearance which draws the week numbers to the calendar. This is optional element. Attributes
Parents
Children
Example
|
<window> |
A window is a container for different items (calendar, eventlist, buttons, ...). The same window can contain multiple items so you can for example put several calendar elements inside the same window. It is like any other window on your desktop so you can be move it around and show/hide it. Attributes
Parents
Children |
<year> |
|
Draws the current year to the window. The displayed year follows the selected date so if the user changes the month the displayed year will change too (if the month is on a different year). Attributes
Parents
Children
Example
|